package com.andyou.rest.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.andyou.common.service.CrudService;
import com.andyou.rest.dao.PerstateManageAreaDao;
import com.andyou.rest.entity.PerstateManageArea;


@Service
@Transactional(readOnly = true)
public class PerstateManageAreaService extends CrudService<PerstateManageAreaDao, PerstateManageArea> {
    
	@Autowired
	private PerstateManageAreaDao perstateManageAreaDao;
	
	/**
     * 社区业态综合数据-集团业态收费面积
     * @param entity
     * @return
     */
	public List<PerstateManageArea> getPerstateManageAreaGroupList(PerstateManageArea entity)
	{
		return perstateManageAreaDao.getPerstateManageAreaGroupList(entity);
	}
	
	/**
     * 社区业态综合数据-分公司业态收费面积
     * @param entity
     * @return
     */
	public List<PerstateManageArea> getPerstateManageAreaCompanyList(PerstateManageArea entity)
	{
		return perstateManageAreaDao.getPerstateManageAreaCompanyList(entity);
	}
	
	
	/**
     * 社区业态综合数据-分公司项目收费面积
     * @param entity
     * @return
     */
	public List<PerstateManageArea> getPerstateManageAreaProjectList(PerstateManageArea entity)
	{
		return perstateManageAreaDao.getPerstateManageAreaProjectList(entity);
	}
	
}
